<script th:src="@{/scripts/pb/reportmodel/edit.js}"></script>
<form id="saveForm" method="post">
    <input type="hidden" name="processorId" id="processorId" th:value="${reportmodel.processorId}"/>
    <input type="hidden" name="access_key" id="access_key" th:value="${reportmodel.access_key}" />
    <input type="hidden" name="displayName" id="displayName" th:value="${reportmodel.displayName}" />
    <input type="hidden" name="importID" id="importID" th:value="${reportmodel.importID}" />
<div class="addInfBtn" >
    <h3 class="itemTit"><span>报表模型管理信息</span></h3>
    <table class="addNewInfList">
        <tr>
            <th>业务数据库名称</th>
            <td width="240"><input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.database_name}" id="database_name" name="database_name"/></td>
            <th>reportID</th>
            <td>
			<input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.reportID}" id="reportID" name="reportID"/>
			</td>          
        </tr>
        <tr>
            <th>datasetID</th>
            <td width="240"><input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.datasetID}" id="datasetID" name="datasetID"/></td>
            <th>报表文件名</th>
            <td>
               <input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.filename}" id="filename" name="filename"/>
            </td>
        </tr>
         <tr>
            <th>collectionName</th>
            <td width="240"><input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.collectionName}" id="collectionName" name="collectionName"/></td>
            <th>workspaceID</th>
            <td>
               <input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.workspaceID}" id="workspaceID" name="workspaceID"/>
            </td>
        </tr>
        <tr>
            <th>报表模式</th>
            <td width="240">
             <select id="model" name="model">
        			<option th:each="reportMode:${reportMode}" th:value="${reportMode.value}" th:text="${reportMode.name}"  th:selected="${reportmodel.model == reportMode.value}" >
        			</option>
        		</select>
            <th>默认报表页</th>
            <td>
               <input class="inp-list w-200 clear-mr f-left" type="text" th:value="${reportmodel.page}" id="page" name="page"/>
            </td>
        </tr>
        <tr>
            <th>日期</th>
            <td>
                <input  onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="inp-list w-200 clear-mr f-left" 
                th:value="${reportmodel.createTime} ? ${#dates.format(reportmodel.createTime,'yyyy-MM-dd HH:mm:ss')} :''" id="createTime" name="createTime"/>
            </td>
        </tr>
    </table>
    <div class="bottomBtnBox">
        <a class="btn-93X38 saveBtn" href="javascript:void(0)">确定</a>
        <a class="btn-93X38 backBtn" href="javascript:closeDialog(0)">返回</a>
    </div>
</div>

</form>
